package com.site.wisdom_construction.responseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author daiyifei
 * @Date 2022/5/10
 * @Description
 */
@ApiModel(value ="人员信息实体类", description = "PersonResult")
public class PersonResult {
    /**
     * 设备号
     */
    @ApiModelProperty(value = "姓名", name = "name")
    private String name;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "民族", name = "nation")
    private String nation;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "住址", name = "address")
    private String address;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "公民身份号码", name = "card")
    private String card;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "出生", name = "time")
    private String time;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "性别", name = "sex")
    private String sex;

    /**
     * 设备号
     */
    @ApiModelProperty(value = "图片", name = "uploadImg")
    private String uploadImg;

    public PersonResult() {
    }

    public PersonResult(String name, String nation, String address, String card, String time, String sex, String uploadImg) {
        this.name = name;
        this.nation = nation;
        this.address = address;
        this.card = card;
        this.time = time;
        this.sex = sex;
        this.uploadImg = uploadImg;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getUploadImg() {
        return uploadImg;
    }

    public void setUploadImg(String uploadImg) {
        this.uploadImg = uploadImg;
    }

    @Override
    public String toString() {
        return "{" +
                "name='" + name + '\'' +
                ", nation='" + nation + '\'' +
                ", address='" + address + '\'' +
                ", card='" + card + '\'' +
                ", time='" + time + '\'' +
                ", sex='" + sex + '\'' +
                ", uploadImg='" + uploadImg + '\'' +
                '}';
    }
}
